# -*- coding: utf-8 -*-
from django.test import TestCase

from wchat.models import KeyWord

import django
django.setup()

if __name__ == '__main__':
    key = KeyWord(keyword = '关注事件',
                  content = '感谢您关注小白一箩筐' + '\n' + '输入"tq+城市名"可获取该城市天气')
    key.save()
    print KeyWord.objects.all()
